﻿using System;
using System.ComponentModel.DataAnnotations;

namespace AutoClub.Core.Domain
{
    public class Mechanic : BaseEntity<Guid>
    {
        #region Properties

        [Required]
        public string Name { get; private set; }

        [Required]
        public string LastName { get; private set; }

        [Required]
        public string Dni { get; private set; }

        #endregion

        #region Constructor

        public Mechanic()
        {
        }

        public Mechanic(string name, string lastName, string dni)
        {
            this.Name = name;
            this.LastName = lastName;
            this.Dni = dni;
        }

        #endregion
    }
}
